package com.lagou.service;

import com.lagou.dao.AddStudentDao;
import com.lagou.domain.Student;

import java.sql.SQLException;

/**
 * 增加学生的service层
 */
public class AddService {
	//增加学生方法。调用dao的增加学生
	public static void addStudentService(Student student) throws SQLException {
		AddStudentDao.addStudent(student);
	}
}
